package com.pyf.sportsheadline.contants;

public class Cans {
    //新闻
    //标题
    public static String TitlesUrl = "http://api.lifxapi.com/tiyu/rest/channel/list?version=0&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";
    //推荐（GET）
    public static String TuijianUrl = "http://api.lifxapi.com/tiyu/rest/content/list?channel_id=0&contest_flag=true&data_version=397.3&banner_flag=true&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";

    //中国篮球（GET）
    public static String ChinaBaseketballUrl = "http://api.lifxapi.com/tiyu/rest/content/list?channel_id=9&data_version=59.6&banner_flag=true&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";

    //国际足球（GET）
    public static String FootballUrl = "http://api.lifxapi.com/tiyu/rest/content/list?channel_id=1&data_version=216.9&banner_flag=true&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";

    //NBA（GET）
    public static String NBAUrl = "http://api.lifxapi.com/tiyu/rest/content/list?channel_id=2&data_version=155.8&banner_flag=true&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";

    //综合（GET）
    public static String SynthesizeUrl = "http://api.lifxapi.com/tiyu/rest/content/list?channel_id=7&data_version=137.4&banner_flag=true&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";

    //中国足球（GET）
    public static String ChinaFootball = "http://api.lifxapi.com/tiyu/rest/content/list?channel_id=8&data_version=187.9&banner_flag=true&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";

    //竞猜（GET）
    public static String GuessUrl = "http://api.lifxapi.com/tiyu/rest/content/list?channel_id=13&data_version=4.0&banner_flag=true&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";

    //深度（GET）
    public static String DepthUrl = "http://api.lifxapi.com/tiyu/rest/content/list?channel_id=10&data_version=13.2&banner_flag=true&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";

    //高尔夫（GET）
    public static String GolfUrl = "http://api.lifxapi.com/tiyu/rest/content/list?channel_id=6&data_version=5.7&banner_flag=true&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";

    //羽毛球（GET）
    public static String BadmintonUrl = "http://api.lifxapi.com/tiyu/rest/content/list?channel_id=5&head_version=0.0&data_version=10.6&banner_flag=true&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";

    //网球（GET）
    public static String TennisUrl = "http://api.lifxapi.com/tiyu/rest/content/list?channel_id=3&data_version=23.2&banner_flag=true&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";

    //图说（GET）
    public static String DescriptionUrl = "http://api.lifxapi.com/tiyu/rest/content/list?channel_id=11&data_version=10.6&banner_flag=true&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";

    //铿锵玫瑰（GET）
    public static String SteelRosesUrl = "http://api.lifxapi.com/tiyu/rest/content/list?channel_id=20&data_version=10.1&banner_flag=true&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";

    //最董球
    public static String ZuidongqiuUrl = "http://api.lifxapi.com/tiyu/rest/content/list?channel_id=19&data_version=2.4&banner_flag=true&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";

    //视频（GET）
    public static String VideoUrl = "http://api.lifxapi.com/tiyu/rest/content/list?channel_id=12&data_version=112.4&banner_flag=true&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";

    //电竞（GET）
    public static String AllstarUrl = "http://api.lifxapi.com/tiyu/rest/content/list?channel_id=17&head_version=0.0&data_version=2.2&banner_flag=true&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";


    //第二层
    //头布局   拼接  link  跳转
    //type=4    跳转
    //http://api.lifxapi.com/tiyu/rest/content/topic?code=865682026799303&id=4131&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false
    //http://api.lifxapi.com/tiyu/rest/content/topic?code=865682026799303&id=4138&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false
    public static String getTitleUrl(int link) {
        return "http://api.lifxapi.com/tiyu/rest/content/topic?code=865682026799303&id=" + link + "&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";
    }


    //进入之后  下方listView 跳转接口  拼接id
    //http://api.lifxapi.com/tiyu/rest/content/recommend?id=187682&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false
    public static String getlastLayoutUrl(int id) {
        return "http://api.lifxapi.com/tiyu/rest/content/recommend?id=" + id + "&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";
    }

    //type=2  跳转  最终详情  拼接  link  跳转
    //http://api.lifxapi.com/tiyu/rest/content/view?code=865682026799303&id=187714&s_channel_id=-1&comment=true&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false
    //http://api.lifxapi.com/tiyu/rest/content/view?code=865682026799303&id=187714&s_channel_id=-1&comment=true&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false
    public static String getContentUrl(int link) {
        return "http://api.lifxapi.com/tiyu/rest/content/view?code=865682026799303&id=" + link + "&s_channel_id=-1&comment=true&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";
    }

    //item（上） 拼接id   通过 image_type 区分多布局，0-一张图片，  1-三张图片
    //eg：http://api.lifxapi.com/tiyu/rest/content/view?code=865682026799303&id=+id+&s_channel_id=0&comment=true&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false
    //http://api.lifxapi.com/tiyu/rest/content/view?code=865682026799303&id=187785&s_channel_id=0&comment=true&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false
    //http://api.lifxapi.com/tiyu/rest/content/view?code=865682026799303&id=187761&s_channel_id=0&comment=true&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false
    public static String getItemUpContent_Url(int id) {
        return "http://api.lifxapi.com/tiyu/rest/content/view?code=865682026799303&id=" + id + "&s_channel_id=0&comment=true&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";
    }

    //item（下）  （listview 数据连接）
    //http://api.lifxapi.com/tiyu/rest/content/recommend?id=187785&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false
    //http://api.lifxapi.com/tiyu/rest/content/recommend?id=187761&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false
    //点击跳转一样
    public static String getItemDown_Url(int id) {
        return "http://api.lifxapi.com/tiyu/rest/content/recommend?id=" + id + "&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";
    }

    //评论列表  拼接dashboard_id
    //http://api.lifxapi.com/tiyu/rest/comment/list?dashboard_id=49881554&limit=20&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false
    public static String getPinglunUrl(int dashboard_id) {
        return "http://api.lifxapi.com/tiyu/rest/comment/list?dashboard_id=" + dashboard_id + "&limit=20&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";
    }

    //评论数量  拼接dashboard_data
    //http://api.lifxapi.com/tiyu/rest/comment/num?dashboard_type=10&dashboard_data=9577833&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false
    public static String getPinglunNumUrl(int dashboard_data) {
        return "http://api.lifxapi.com/tiyu/rest/comment/num?dashboard_type=10&dashboard_data=" + dashboard_data + "&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";
    }


    /**
     * Czeal
     * 比赛页面接口
     */
    //热门比赛
    public static String getHotMatch = "http://api.lifxapi.com/tiyu/rest/contest/recommend?machine_code=133524277591201&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";

    //全部比赛
    public static String getAllMatch = "http://api.lifxapi.com/tiyu/rest/contest/time/channel?next_flag=false&machine_code=133524277591201&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";

    //NBA
    public static String getNBAMatch = "http://api.lifxapi.com/tiyu/rest/contest/time/channel?next_flag=false&channel_id=1&machine_code=133524277591201&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";

    //中国足球
    public static String getCFMatch = "http://api.lifxapi.com/tiyu/rest/contest/time/channel?start_time=2016-10-29&end_time=2016-10-29&next_flag=false&channel_id=2&machine_code=133524277591201&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";

    //国际足球
    public static String getIFMatch = "http://api.lifxapi.com/tiyu/rest/contest/time/channel?next_flag=false&channel_id=3&machine_code=133524277591201&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";

    //中国篮球
    public static String getCBMatch = "http://api.lifxapi.com/tiyu/rest/contest/time/channel?next_flag=false&channel_id=4&machine_code=133524277591201&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";

    //Match第二层跳转接口
    public static String getSecondMatch(String id) {
        return "http://api.lifxapi.com/tiyu/rest/contest/view?contest_id=" + id + "&contest_type=0&new_flag=true&machine_code=133524277591201&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";
    }

    //Match 第二层页面 技术统计
    public static String getTechnology(String id) {
        return "http://api.caibisai.com/cbs/fb/contest/statisticsandevents?contest_id=" + id + "&machine_code=133524277591201&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";
    }

    //Match  未比赛 第二层接口
    public static String getMatchYet(String id) {
        return "http://api.lifxapi.com/tiyu/rest/contest/view?contest_id=" + id + "&contest_type=0&new_flag=true&machine_code=133524277591201&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";
//		return " http://api.lifxapi.com/tiyu/rest/contest/view?contest_id="+id+"&contest_type=0&new_flag=true&machine_code=133524277591201&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";
    }

    //Mactch 未比赛 详情第二层 新闻图片拼接
    public static String getMatchNewsPic(String pic) {
        return "http://lifeixphoto.qiniudn.com/" + pic + "?imageView2/1/w/864/h/555/format/jpg ";
    }

    //Match 足球 第二层
    public static String getBasketDetail(int id) {
        return "http://api.caibisai.com/cbs/bb/contest/change?contest_id=" + id + "&lineup_flag=false&machine_code=133524277591201&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";
    }

    //Match 篮球  详情第一个Fragment  已比赛
    public static String getBasketDetailNews(int id) {
        return "http://api.lifxapi.com/tiyu/rest/contest/view?contest_id=" + id + "&contest_type=1&liveword_flag=false&new_flag=true&machine_code=133524277591201&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";
    }

    public static String getBasketDetailsYet(int id) {
        return "http://api.lifxapi.com/tiyu/rest/contest/view?contest_id=" + id + "&contest_type=1&liveword_flag=false&new_flag=true&machine_code=133524277591201&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";
    }

    //闪屏  接口
    public static String getSplashData() {
        return "http://api.lifxapi.com/tiyu/rest/boot/curr?machine_code=133524277591201&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";
    }

    //社区 热帖 视频播放 接口
    public static String getVideoViewPath(String path) {
        return "http://roi.skst.cn/" + path + "!bigger";
    }

    //社区 热帖 头像 接口
    public static String getHeadPic(String path) {
        return "http://7xavvq.com2.z0.glb.qiniucdn.com/" + path + "!90x90";
    }

    //社区 热帖 接口
    public static String getShequ_RetiePath() {
        return "http://community.caibisai.com/community/posts?app=1&hot=true&status=1&limit=20&order_by=createTime&is_asc=false&machine_code=9a6bc9a2a0ff76f46c3cdf82f4108fc6&client=key%3Aroi_android&version=2.1.1&format=json&app_id=4";
    }

    //社区 社区接口
    public static String getShequ_ShequPath() {
        return "http://community.caibisai.com/community/communityhomepage?app=1&machine_code=9a6bc9a2a0ff76f46c3cdf82f4108fc6&client=key%3Aroi_android&version=2.1.1&format=json&app_id=4";
    }

    public static String SubscideUrl = "http://api.lifxapi.com/tiyu/rest/subscribe/ids?ids=3160087%2C3116643%2C3116722%2C3116804%2C3116773%2C3140299%2C3143337%2C3140387%2C3145740%2C3140332%2C3140304%2C3143345%2C3140355%2C3143361%2C3140375%2C3143322%2C3145754%2C3145761&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";

    public static String getSubscideContentUrl(int user_id) {
        return "http://api.lifxapi.com/tiyu/rest/content/user?limit=20&user_id=" + user_id + "&machine_code=865682026799303&client=key%3ATiyuForAndroid&version=2.11&format=json&app_id=4&is_emulator=false";
    }

}
